package com.example.mysaat.handle_utils;

import android.app.Activity;
import android.app.ActivityManager;
import android.content.Context;

final public class ManagerActivityUtil implements ManagerActivityInterface<Activity>{

    public void shieldMenuKey(Activity activity){
        ActivityManager manager = (ActivityManager)activity.getApplicationContext().getSystemService(Context.ACTIVITY_SERVICE);
        manager.moveTaskToFront(activity.getTaskId(),0);
    }
}
